<% unless @comment.errors.present? %>
$('.comments-<%= @task.id %>').html("<%= escape_javascript(render :partial => 'comments/comments') %>")
<% end %>